package com.hivision.iot.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @program: CjxjyEquipment
 * @description:
 * @author: Dd7
 * @create: 2022-12-18 17:54
 **/

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class AlarmDTO {
    @JsonProperty("Id")
    private String eventId;

    @JsonProperty("SrcMsgId")
    private String srcMsgId;

    @JsonProperty("AlarmId")
    private String alarmId;

    @JsonProperty("Class")
    private Integer myClass;

    @JsonProperty("Category")
    private String category;

    @JsonProperty("Extras")
    private Object extras;

    @JsonProperty("Status")
    private String status;

    @JsonProperty("Level")
    private Integer level;

    @JsonProperty("CreatedAt")
    private Long createdAt;

    @JsonProperty("RecoveredAt")
    private Long recoveredAt;

    @JsonProperty("HandledAt")
    private Long handledAt;

    @JsonProperty("Handler")
    private String handler;

    @JsonProperty("HandledComment")
    private String handledComment;

    @JsonProperty("Trigger")
    private Object trigger;
}
